#!/bin/bash
set -euo pipefail
BaseDir=$(cd "$(dirname "$0")"; pwd)
cd ${BaseDir}

# 基座模型	对齐模型	对齐模型 4bits 量化
echo "对齐模型 4bits 量化  GPU"
[ -d Baichuan2-7B-Chat-4bits ] ||{
    C:/tool/aifasthub/aifasthubdl.exe -o c:/work/prod/xops/llm/huggingface  -m https://aifasthub.com/models/baichuan-inc/Baichuan2-7B-Chat-4bits
}

echo "对齐模型"
[ -d Baichuan2-7B-Chat ] ||{
    C:/tool/aifasthub/aifasthubdl.exe -o c:/work/prod/xops/llm/huggingface  -m https://aifasthub.com/models/baichuan-inc/Baichuan2-7B-Chat
}